#列表生成式就是 "生成列表的公式"
#[列表元素的表达式  for 自定义变量 in 可迭代对象]
list01 =[ele * 2 for ele in range(1 , 5)]
print(list01)

list02 = [ele + ele for ele in "韩顺平"]
print(list02)

list03 = [ele*ele for ele in range(1 , 11)]
print(list03)